package com.google.code.virtualhockey.vhx.server.servlet.rest.error

import com.google.code.virtualhockey.vhx.server.servlet.rest.RestCommandException
import javax.servlet.http.HttpServletResponse

/**
 * Indicates that the connected user is not authorized to access a particular server side resource.
 */
class RestNotAuthorizedException( msg: String ) extends RestCommandException( msg ) {
  override val httpStatusCode = HttpServletResponse.SC_UNAUTHORIZED
}
